package com.guoyansoft.model.service;

import com.guoyansoft.config.R;
import com.guoyansoft.model.pojo.Customer;
import com.guoyansoft.model.pojo.PendingOrders;

import java.util.List;
import java.util.Map;

/**
 * @author  刘耀诚
 * 待处理订单表service接口
 */

public interface PendingOrdersService {
    R save(PendingOrders pendingOrders);
    R modify(PendingOrders pendingOrders);
    R drop(String[] id);
    R queryById(String id);
    R queryByPage(Map<String,Object> params);
    R queryByYardmanPage(Map<String,Object> map);
    R queryByCourierPage(Map<String,Object> map);
    R modifyState(Map<String,Object> map);
    R queryByCourierPendingOrders(Map<String,Object> map);
    R queryByCustomer(Customer customer);
//    R queryByStoreName(Map<String,Object> params);
//    R queryByGoodsName(Map<String,Object> params);
//    R queryByState(Map<String,Object> params);
}
